<template>
    <a-layout>
        <div style="width: 1240px; padding: 0 20px; margin: 0 auto">
            <a-row type="flex">
                <the-personal></the-personal>
                <a-col :flex="40">
                    <router-view></router-view>
                </a-col>
            </a-row>
        </div>
    </a-layout>
</template>

<script lang="ts">
    import {LeftCircleOutlined, RightCircleOutlined} from '@ant-design/icons-vue';
    import {defineComponent} from 'vue';
    import ThePersonal from '@/components/the-personal.vue';

    export default defineComponent({
        components: {
            LeftCircleOutlined,
            RightCircleOutlined,
            ThePersonal,
        },
    });
</script>

<style scoped>
    .ant-col {
        padding-right: 50px;
        width: 500px;
    }

    .ant-row {
        margin:20px 0;
    }

    .ant-layout {
        background: white;
    }

    .user-info .username {
        display: block;
        font-size: 1.2em;
        margin-top: 5px;
        margin-bottom: 10px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .user-info {
        clear: both;
        display: inline-block;
        padding-left: 8px;
        padding-right: 8px;
        overflow: hidden;
    }

    a {
        text-decoration: none;
        cursor: pointer;
        color: #005980;
    }

    .ui.vertical.menu {
        border-radius: 0 0 4px 4px;
        border-color: rgba(0,0,0,0);
        border-top-color: rgba(0, 0, 0, 0);
        border-top-color: #e3e9ed;
    }

    .ui.vertical.menu {
        width: auto;
    }

    .ui.vertical.menu {
        border-radius: 4px;
        border: 1px solid #e3e9ed;
        border-top-color: rgb(227, 233, 237);
        border-right-color: rgb(227, 233, 237);
        border-bottom-color: rgb(227, 233, 237);
        border-left-color: rgb(227, 233, 237);
        -webkit-box-shadow: none;
        box-shadow: none;
        background: #fff;
        padding: 12px 0;
    }

    .ui.menu {
        margin: 1rem 0rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        background: #ffffff;
        font-size: 0px;
        font-weight: normal;
        -webkit-box-shadow: 0px 0px 0px 1px rgba(39,41,43,0.15),0px 1px 2px 0 rgba(0,0,0,0.05);
        box-shadow: 0px 0px 0px 1px rgba(39,41,43,0.15),0px 1px 2px 0 rgba(0,0,0,0.05);
        border-radius: 0.2857rem;
    }

    .profile-setting {
        padding: 0 !important;
    }

    .ui.vertical.menu .item {
        line-height: 1.78;
    }

    .ui.vertical.menu .item {
        background: none;
        display: block;
        height: auto !important;
        border-top: none;
        border-left: 0em solid transparent;
        border-right: none;
        margin: 0 10px
    }

    .ui.menu .item {
        font-size: 1rem;
    }

    .ui.vertical.menu .item:not(.dropdown) > .menu > .item {
        background: none;
        padding: 0.5rem 1.5rem;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        font-size: 0.875rem;
    }

    .ui.vertical.menu .item {
        background: none;
        display: block;
        height: auto !important;
        border-top: none;
        border-left: 0em solid transparent;
        border-right: none;
    }

    .ui.menu .item .item {
        color: rgba(0,0,0,0.5);
    }

    .profile-setting .menu .item {
        padding-left: 0.95em !important;
        padding-right: 0.95em !important;
    }

    .ui.menu .item {
        position: relative;
        text-decoration: none;
        box-sizing: border-box;
        user-select: none;
        transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
    }

    .ui.menu .item {
        color: rgba(0,0,0,0.8);
    }
</style>
